package com.mfcxy.tools;

import java.util.Map;

/**
 *  返回的json对象
 *  
 *  cdoe = 1 操作成功 cdoe = 0 操作失败
 *  
 *  
 * @author mfcxy
 *
 */
public class BackJson {
	private int code; //返回的状态码
	private Map<String, Object> data; //返回的数据
	private String msg;//返回的提示信息

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public Map<String, Object> getData() {
		return data;
	}

	public void setData(Map<String, Object> data) {
		this.data = data;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	@Override
	public String toString() {
		return "BackJson [code=" + code + ", data=" + data + ", msg=" + msg + "]";
	}

}
